<template>
    <div>
        <a href="javascript:;" :title="title" style="margin-left: 15px">
            <!-- 这里的 v-bind 和 v-on 必须写完整形式  不能简写 -->
            <el-button v-bind="$attrs" v-on="$listeners"></el-button>
        </a>
    </div>
</template>

<script>
    export default {
        name:'HintButton',
        props: ['title'],
        mounted() {
            console.log(this.$attrs,this.$listeners);
        },
    
    }
</script>

<style lang='less' scoped>
    
</style>